<template>
  <el-container>
    <el-aside width="200px">
      <el-menu
        default-active="2"
        class="el-menu-vertical-demo"
        router
      >
        <el-menu-item index="/">
          <el-icon-goods></el-icon-goods>
          <span>菜单1</span>
        </el-menu-item>
        <el-menu-item index="/about">
          <el-icon-goods></el-icon-goods>
          <span>菜单2</span>
        </el-menu-item>
        <el-menu-item index="3">
          <el-icon-goods></el-icon-goods>
          <span>菜单3</span>
        </el-menu-item>
      </el-menu>
    </el-aside>
    <el-container>
      <el-header>Header</el-header>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script lang="ts" setup>
</script>

<style scoped>
svg {
  margin-right: 5px;
}
</style>